package com.googlecode.classgrep.grep.annotated.client;

import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Map;

import com.googlecode.classgrep.info.MethodInfo;

public interface MethodGrepClient {


	
	/**
	 * 
	 * Get unmodifiable annotated method Map, if invoke by GrepRobot
	 * 
	 * @return
	 */
	Map<String, List<MethodInfo>> getAnnotatedMethodInfoMap();
	
	
	/**
	 * find unmodifiable annotated method list by annotation, if invoke by GrepRobot
	 * 
	 * @param annotation
	 * @return
	 */
	List<MethodInfo> findAnnotatedMethods(Class<? extends Annotation> annotation);
	
	
}
